//
//  NSString+Trim.m
//  CommonUtility
//
//  Created by liusanchun on 14-7-25.
//  Copyright (c) 2014年 liusanchun. All rights reserved.
//

#import "NSString+Trim.h"

@implementation NSString (Trim)

/**
 *  去除字符串的前后空格
 *
 *  @return 字符串
 */
- (NSString*)trim
{
    return [self stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]];
}

@end
